package com.haoxin.ai_course.modules.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.math.BigDecimal;

import org.springframework.stereotype.Service;
import com.haoxin.ai_course.modules.course.mapper.AcStatisticsCourseMapper;
import com.haoxin.ai_course.modules.course.entity.AcStatisticsCourse;
import com.haoxin.ai_course.modules.course.service.AcStatisticsCourseService;



@Service
public class AcStatisticsCourseServiceImpl extends ServiceImpl<AcStatisticsCourseMapper, AcStatisticsCourse> implements AcStatisticsCourseService {


	@Override
	public Integer getFinishCourseAvageTime(int courseId) {
		// TODO Auto-generated method stub
		return this.baseMapper.getFinishCourseAvageTime(courseId);
	}


	@Override
	public void updateByVersion(AcStatisticsCourse acStatisticsCourse) {
		 this.baseMapper.updateByVersion(acStatisticsCourse);
		
	}
	
}
